'use strict';

module.exports.index = function *(){
  yield this.render('index.html',{'user':'durban'});
}

module.exports.test = function *(next){

  var res = yield this._waterline.collections.test.create({'message':'qqq hello test'});
  this.body = {'success':true,'res':res};
}